/*
 * datastore.h
 *
 *  Created on: 14/11/2009
 *      Author: andre
 */

#ifndef DATASTORE_H_
#define DATASTORE_H_

typedef struct peerdata {

    int ipAddress;
    struct peerdata* next;
} PeerData;


int getPeerDataFromStorage(AnnounceParameters *ta, AnnounceResults *ar);
int addPeerDataToStorage(AnnounceParameters *ap);
int removePeerDataFromStorage(AnnounceParameters *ap);


#endif /* DATASTORE_H_ */
